package com.kamistoat.meimeimall.meimeimallcoupon.dao;

import com.kamistoat.meimeimall.common.annotation.AutoFillCreateTime;
import com.kamistoat.meimeimall.meimeimallcoupon.entity.SpuBoundsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品spu积分设置
 * 
 * @author kamistoat
 * @email linjianshanke@163.com
 * @date 2021-09-12 16:19:47
 */
@Mapper
public interface SpuBoundsDao {

    /**
     * wrapper查询
     */
    List<SpuBoundsEntity> selectByWrapper(@Param("wrapper") SpuBoundsEntity wrapper);

    /**
     * 保存
     */
    @AutoFillCreateTime
    Long insert(SpuBoundsEntity spuBoundsEntity);
}
